package com.example.elderlycare.controller.entity;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

public class BerthRequestBody {
    @Data
    public static class AddBerth {
        @Range(min = 1, max = 50)
        private Integer total;
        @NotNull
        private Integer nursingHomeId;
    }
}
